package com.ruifu.common.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruifu.common.eneity.BaseEntityPlus;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lcq
 * @create 2019/12/23
 */
@Data
@TableName("materiel_document")
public class MaterielDocument extends BaseEntityPlus implements Serializable {
    private static final long serialVersionUID = -1309952649760175837L;
    /**
     * 物料文档id
     */
    @TableId(value = "md_id", type = IdType.AUTO)
    private Long mdId;

    /**
     * 物料版本id
     */
    @TableField(value = "md_versions_id")
    private Long mdVersionsId;

    /**
     * 文档版本id
     */
    @TableField(value = "md_doc_versions_id")
    private Long mdDocVersionsId;

    /**
     * 是否为主控文档：默认为false
     */
    @TableField(value = "md_association_type")
    private Boolean mdAssociationType;

    /**
     * 锁定当前文档版本:默认为false
     */
    @TableField(value = "md_version_lock")
    private Boolean mdVersionLock;

}